package com.scwatch.core.service;

import com.scwatch.common.orm.Limitable;
import com.scwatch.core.domain.CodeDev;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;
import java.util.Map;

public interface CodeDevService {
    Page<CodeDev> findAll(Map<String, String[]> params, Pageable pageable);

    List<CodeDev> findAll(Map<String, String[]> params, Limitable limitable);

    CodeDev saveOrUpdata(CodeDev bean);

    CodeDev findById(Integer id);

    void delete(Integer[] ids);

    int deleteCodeIds(Integer[] codeIds);
}
